package com.wang.user;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * @author wangy
 */
//@SpringBootApplication
public class UserServerApplication {

    public static void main(String[] args) throws InterruptedException, IOException {
//        ConfigurableApplicationContext applicationContext = SpringApplication.run(UserServerApplication.class, args);
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("provider.xml");
        applicationContext.start();
        System.in.read(); // 按任意键退出
    }

}
